import turtle
 turtle.pensize(4)
 turtle.pencolor('red')
 turtle.forward(100)
 turtle.right(90)
 turtle.forward(100)
 turtle.right(90)
 turtle.forward(100)
 turtle.right(90)
 turtle.forward(100)
 turtle.mainloop()